try:
    num = int(input("请输入一个整数:"))
    print(8 / num)
except ValueError:
    print("请输入正确的整数")
# except ZeroDivisionError:
#     print("请不要输入0")
except Exception as ex:
    print("未知错误 %s" % ex    )


raise Exception("xx")

print("-" * 50)
